import request from '@/utils/request'

export function queryElecData(params) {
  return request({
    url: '/powerGrid/queryData',
    method: 'get',
    params
  })
}

export const exportElecData = () => { return 'powerGrid/exportData' }

export function getUserCompanyOptions(params) {
  return request({
    url: '/powerGrid/getUsers',
    method: 'get',
    params
  })
}
